﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace GigaSite.Countdown.Controllers
{
    public class MainController : Controller
    {
        //
        // GET: /Main/
        /// <summary>
        /// Отображает главную страницу с таймером обратного обсчета
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            var launchDate = new DateTime(2013, 01, 01);
            var diff = launchDate - DateTime.Now;
            return View(diff);
        }

    }
}
